(isearch, isearch-lazy-highlight-face): New
authorEli Zaretskii <eliz@gnu.org>
Tue, 9 Jan 2001 11:37:01 +0000 (11:37 +0000)
committerEli Zaretskii <eliz@gnu.org>
Tue, 9 Jan 2001 11:37:01 +0000 (11:37 +0000)
definitions for face colors and attributes.

lisp/isearch.el

index e4a51ffc2983c40f27a1dabbd6ed96b921311987..f2b5f01229e06c4731d0c5098d61203cbb998402 100644 (file)
@@ -1886,14 +1886,26 @@ If this is nil, extra highlighting can be \"manually\" removed with
   :group 'isearch)
 
 (defface isearch
-  '((t (:inherit region)))
-  "Face for highlighting matches."
+  '((((type tty pc) (class color))
+     (:background "magenta4" :foreground "cyan1"))
+    (((class color) (background light))
+     (:background "magenta4" :foreground "lightskyblue1"))
+    (((class color) (background dark))
+     (:background "palevioletred2" :foreground "brown4"))
+    (t (:inverse-video t)))
+  "Face for highlighting Isearch matches."
   :group 'isearch-faces)
 (defvar isearch 'isearch)
 
 (defface isearch-lazy-highlight-face
-  '((t (:inherit secondary-selection)))
-  "Face for lazy highlighting of matches."
+  '((((type tty pc) (class color))
+     (:background "turquoise3"))
+    (((class color) (background light))
+     (:background "paleturquoise"))
+    (((class color) (background dark))
+     (:background "paleturquoise4"))
+    (t (:underline t)))
+  "Face for lazy highlighting of Isearch matches other than the current one."
   :group 'isearch-faces)
 (defvar isearch-lazy-highlight-face 'isearch-lazy-highlight-face)